@font-face {
    font-family: "Astrid";
    src: url("./assets/fonts/Astrid.woff");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: "Assistant", sans-serif;
}

.cta__text{
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 200;
}

.call__button{
    margin: 0 5px;
}

.hero{
    min-height: 100vh;
    background-color: #D5E4C8;
    display: flex;
    align-items: flex-end;
}

.hero__photo{
    align-self: flex-end;
    margin: 0;
    position: absolute;
    right: 0;
}

.hero__container{
    margin-left: 8%;
    width: 45%;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero h1{
    font-size: clamp(2rem, 20vh, 6vw);
    color: #8FA78D;
    font-family: "Astrid";
    font-weight: 400;
    line-height: 0.8;
}

.hero p{
    font-size: 24px;
    font-weight: 200;
    width: 500px;
    max-width: 100%;
}

.hero strong{
    font-size: 24px;
    font-weight: 400;
}

.hero .cta__buttons{
    display: flex;
    gap: 5px;
}

.call__button{
    padding: 15px 30px;
    font-size: 24px;
    font-weight: 400;
    color: #0F0E0C;
    background-color: #AECAAC;
    display: inline-block;
}

.prices{
    background-color: #AECAAC;
    padding: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    color: rgba(15, 14, 12, 0.90);
}

.prices h2{
    font-family: "Astrid";
    font-size: 40px;
    font-weight: 400;
    text-align: center;
}

.prices__content{
    display: flex;
    width: 100%;
    justify-content: center;
}

.price{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 100px;
    max-width: 33%;
}

.price--center{
    border-left: 1px solid rgba(15, 14, 12, 0.90);
    border-right: 1px solid rgba(15, 14, 12, 0.90);
}

.price__time{
    font-size: 24px;
    font-weight: 400;
    text-wrap: nowrap;
}

.price__amount{
    font-family: "Astrid";
    font-size: clamp(24px, 4vw, 64px);
    font-weight: 400;
}

.about{
    min-height: 100vh;
    background-color: #819275;
    padding: 1px;
    overflow: hidden;
}

.about__content{
    background-color: #D5E4C8;
    height: 100%;
    margin: 200px;
    position: relative;
    padding: 200px 200px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about__photo{
    position: absolute;
    top: -140px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.about h2{
    font-family: "Astrid";
    font-weight: 400;
    font-size: 64px;
    color: #8FA78D;
    text-align: center;
    line-height: 1;
}


.about h4{
    font-size: 24px;
    font-weight: 200;
}

.about p{
    font-size: 24px;
    font-weight: 200;
    margin: 30px 0;
    text-align: center;
}

.perks{
    min-height: 100vh;
    background-color: #D5E4C8;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    padding: 100px;
}

.perks h2{
    font-size: 64px;
    font-weight: 400;
    font-family: "Astrid", "serif";
    color: #8FA78D;
}

.perks__container{
    display: flex;
    width: 80%;
    justify-content: space-between;
}

.perk{
    width: 25%;
}

.perk h3{
    font-size: 48px;
    font-weight: 400;
    font-family: "Astrid", "serif";
    color: #8FA78D;
    line-height: 1;
    margin-bottom: 20px;
}

.perk p{
    font-size: 24px;
    font-weight: 200;
}

footer{
    background-color: #AECAAC;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 100px 0;
}

footer h2{
    font-size: 64px;
    color: rgba(15, 14, 12, 0.9);
    font-weight: 400;
    font-family: "Astrid";
    text-align: center;
}

.footer__links{
    display: flex;
    gap: 40px;
}

.footer__links a{
    text-decoration: none;
    color: rgba(15, 14, 12, 0.75);
}

@media(max-width: 1700px){
    .hero__photo{
        width: 60%;
    }
    .hero{
        min-height: 0;
    }
    .hero__container{
        margin: 100px;
    }
    .perks__container{
        gap: 20px;
        width: 90%;
    }
    .perk{
        width: 30%;
    }
}

@media(max-width: 1400px){
    .about__content{
        margin: 200px 100px 100px;
        padding: 200px 100px 100px;
    }
    .perks__container{
        width: 100%;
        gap: 20px;
    }
    .perk{
        width: 100%;
    }
}

@media(max-width: 1300px){
    .hero__container{
        width: 60%;
        z-index: 1;
    }
    .hero__photo{
        z-index: 0;
    }
}

@media(max-width: 1200px){
    .hero__container{
    }
    .hero p{
        backdrop-filter: blur(3px);
    }
    .perks__container{
        flex-direction: column;
    }
}

@media(max-width: 1000px){
    .hero__container{
        width: 100%;
        align-items: center;
    }
    .hero h1{
        text-align: center;
    }
    .hero p{
        backdrop-filter: blur(3px);
    }
    .hero__photo{
    }
    .price{
        padding: 5%;
        max-width: unset;
    }
    .about__content{
        margin: 200px 50px 50px;
        padding: 200px 50px 50px;
    }
    .perks{
        gap: 50px;
    }
}

@media(max-width: 800px){
    .hero__container{
        width: 90%;
        margin: 100px auto;
    }
    .hero__photo{
        display: none;
    }
    .cta{
        text-align: center;
    }
    .cta__buttons{
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    .footer__links{
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
}

@media(max-width: 700px){
    .about p{
        font-size: 16px;
    }
    .perks{
        padding: 100px 50px;
    }
}

@media(max-width: 600px){
    .cta__buttons{
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    .about__content{
        margin: 200px 20px 20px;
        padding: 200px 20px 20px;
    }
    .perks{
        padding: 100px 20px;
    }
}

@media(max-width: 500px){
    .hero p, .hero strong, .call__button{
        font-size: 16px;
    }
    .prices__content{
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    .price--center{
        border: none;
        border-top: 1px solid #0F0E0C;
        border-bottom: 1px solid #0F0E0C;
    }
    .price{
        width: 100%;
    }
    .perks{
        padding: 50px 20px;
    }
    .perks h2{
        font-size: 48px;
    }
    .perk h3{
        font-size: 24px;
    }
    .perk p{
        font-size: 16px;
    }
    footer h2{
        font-size: 48px;
    }
}

@media(max-width: 500px){
    .prices{
        padding: 50px;
    }
    .about__photo{
        width: 60%;
        top: 0;
        transform: translateY(-50%);
    }
    .about__content{
        padding-top: 150px;
    }
}

@media(max-width: 400px){
    .about__content{
        padding-top: 100px;
    }
    .about h2{
        font-size: 42px;
    }
    .about__content p{
        margin: 20px 0;
        text-align: left;
    }
    footer h2{
        font-size: 36px;
    }
    .footer__links{
        padding: 10px;
        font-size: 14px;
    }
}

